<?php
class CharViewModel extends Model {
	public function getPk() {
                return 'cid';
        }
	var $viewModel = true;
	var $viewFields = array(
		//'原Model名'=>array('原字段名'=>'新视图模型内字段名'),
		'charbase' => array(
			'cid' => 'cid',
			'name',
			'chenghao',
			'chuohao',
			'sex',
			'age',
			'hp',
			'mp',
			'nowhp',
			'nowmp',
			'huoli',
			'level',
			'jingyan',
			'shuxingdian',
			'liliang',
			'minjie',
			'zhili',
			'qiangzhuang',
			'meili',
			'dongcha',
			'lastlogin',
			'money',
			'bankmoney',
			'zhuangbei1',
			'zhuangbei2',
			'zhuangbei3',
			'zhuangbei4',
			'zhuangbei5',
			'zhuangbei6',
			'zhuangbei7',
			'zhuangbei8',
			'zhuangbei9',
			'zhuangbei10',
		),
		'charplus' => array('wugong','wufang','mogong','mofang','mingzhong','shanbi','huixin','gongsu','mapid','mapid','gonghuiid1','gonghuiid2','gonghuiid3'),
	);
}
?>